/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package canteen.sys.model.entity.repository;

import canteen.sys.model.entity.DepartmentMaster;
import canteen.sys.model.generic.GenericDAO;
import java.util.List;

/**
 *
 * @author TNT
 */
public interface DepartmentMasterDAO extends GenericDAO<DepartmentMaster, Long> {
    public List<DepartmentMaster> findAllByStatus(boolean status);
    public List<DepartmentMaster> findByNameAndStatus(String name, boolean status);
    //neu co muon them code nao ve phan nay thi viet method vao day roi impliment sang ben 
}
